package com.hzj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author hzj
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class SmbmsAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 联系人姓名
     */
    private String contact;

    /**
     * 收货地址明细
     */
    @TableField("addressDesc")
    private String addressdesc;

    /**
     * 邮编
     */
    @TableField("postCode")
    private String postcode;

    /**
     * 联系人电话
     */
    private String tel;

    /**
     * 创建者
     */
    @TableField("createdBy")
    private Long createdby;

    /**
     * 创建时间
     */
    @TableField("creationDate")
    private LocalDateTime creationdate;

    /**
     * 修改者
     */
    @TableField("modifyBy")
    private Long modifyby;

    /**
     * 修改时间
     */
    @TableField("modifyDate")
    private LocalDateTime modifydate;

    /**
     * 用户ID
     */
    @TableField("userId")
    private Long userid;


}
